package com.aos.erp.schools.mapper.gatherschool;

import com.aos.erp.common.dao.mapper.SuperMapper;
import com.aos.erp.schools.model.gatherschool.entity.GatherSchool;
import com.aos.erp.schools.model.gatherschool.ro.UpdateGatherRo;
import com.aos.erp.schools.model.gatherschool.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 报名点 Mapper 接口
 * </p>
 *
 * @author chb
 * @since 2018-10-31
 */
@Mapper
public interface GatherSchoolMapper extends SuperMapper<GatherSchool> {


	List<GatherSchool> queryList(Map<String,Object> map);

	int deleteAllSchools(GatherSchool school);

	GatherSchoolVo queryObject(Long id);

	List<GatherSchool> queryListVo(Map<String,Object> map);

	List<GatherListVo> queryListShow(Map<String,Object> map);

	int updateGather(UpdateGatherRo updateGatherRo);

	List<ServiceGatherSchoolVo> querySchoolByCityId(Map<String,Object> map);

	List<GatherSchool> queryByParams(Map<String,Object> map);

	UpdateGatherInfoVo selectUpdateInfo(long id);

	List<TotalSchool> getTotalGather(Map<String,Object> map);

	List<GatherTypeVo> queryGatherTypeVo(Map<String,Object> map);

	List<SchoolTreeVo> getSchoolTree(Map<String,Object> map);

	List<GatherSchool> getSchoolByDev(Map<String,Object> map);
}
